package com.piece.core.authentication.exception;

import com.piece.core.framework.constant.ExceptionAuthConstants;
import com.piece.core.framework.util.basic.I18nUtil;
import org.springframework.security.core.userdetails.UsernameNotFoundException;

/**
 * 手机号不存在异常类
 */
public class MobileNotMatchException extends UsernameNotFoundException {

    public MobileNotMatchException() {
        super(I18nUtil.message(ExceptionAuthConstants.MOBILE_NOMATCH));
    }
}
